package top.xia17.plugins.fast.user.password;

import lombok.Getter;
import lombok.Setter;

import java.util.Map;

/**
 * 用户输入的密码生成器
 *
 * @author xia17
 * @date 2022/1/17
 */
@Getter
@Setter
public class InputPasswordGenerator implements PasswordGenerator {

    private final static String ID = "input";


    @Override
    public String generate(String val) {
        return val;
    }

    @Override
    public String getId() {
        return ID;
    }

    @Override
    public void setProperties(Map<String, String> properties) {
    }
}
